﻿using System.Net.Sockets;
using System.Collections.Generic;

namespace System.Net.DnsToolkit.SocketAsync {
    public interface IPortSelector {

        void BindSourcePort(Socket socket);
        void ReleaseSourcePort(int port);
        int PortCollision { get; }
        int AdressAlreadyInUse { get; }
        IEnumerable<int> LockedPorts { get; }
    }
}
